package com.wn.common.model.user.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor   //全参数构造
@NoArgsConstructor
@Builder              //builder 模式
@ApiModel("登陆返回信息")
public class LoginVo {

   @ApiModelProperty("用户ID")
   private Long id;

   @ApiModelProperty("用户名")
   private String userName;

   @ApiModelProperty("手机")
   private String phone;
    
   @ApiModelProperty("返回token")
   private String token;

//   public static void main(String[] args) {
//
//      LoginVo loginVo = new LoginVo();
//      loginVo.setId(0L);
//      loginVo.setUserName("");
//      loginVo.setPhone("");
//      loginVo.setToken("");
//
//      LoginVo build = LoginVo.builder().id(1L).userName("").build();
//   }
}